//
// Created by fazhehy on 2024/6/8.
//

#ifndef TASK_H
#define TASK_H

#include "common_inc.h"

extern float mx_offset, my_offset, mz_offset;
extern float mx_k, my_k, mz_k;
extern float mag_angle;
extern char str[10][64];

uint8_t nop_task(uint8_t keyNum);
uint8_t set_mag_deviate_angle(uint8_t keyNum);
uint8_t record_point_task(uint8_t keyNum);
uint8_t remote_control_task(uint8_t keyNum);
uint8_t mag_calibration_task(uint8_t keyNum);
uint8_t show_attitude_task(uint8_t keyNum);
uint8_t flash_write_param_task(uint8_t keyNum);
uint8_t flash_write_point_task(uint8_t keyNum);

#endif //TASK_H
